﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace NETCORE.Larger.Data.Model
{
    public class TE_Book
    {
        [Key]
        public string id { get; set; }
        public string name { get; set; }

        public string introduction { get; set; }

        [Column(TypeName = "decimal(18,4)")]
        public decimal price { get; set; }

        public string bookstoreid { get; set; }
        public string used { get; set; }
        public int isdeleted { get; set; } = 0;
        public string deleteuserid { get; set; }
        public string author { get; set; }
    }
}
